package com.ygqh.baby.service.wechat.model.good;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * 好物圈——包裹中的物品信息
 *
 * @Author: sunshuo
 * @Date: 2019/5/21 12:13
 * @Version: 1.0
 */
public class GoodExpressPackage implements Serializable {

	private static final long serialVersionUID = 3087668259759496743L;

	/**
	 * 快递公司id		必填
	 */
	private long expressCompanyId;

	/**
	 * 快递公司名		必填
	 */
	private String expressCompanyName;

	/**
	 * 快递单号		必填
	 */
	private String expressCode;

	/**
	 * 发货时间，unix时间戳		必填
	 */
	private long shopTime;

	/**
	 * 快递详情页（小程序页面）		必填
	 */
	private GoodExpressPage expressPage;

	/**
	 * 包裹物品信息		必填
	 */
	private List<GoodExpressItem> expressItemInfoList;

	@JSONField(name = "express_company_id")
	public long getExpressCompanyId() {
		return expressCompanyId;
	}

	public void setExpressCompanyId(long expressCompanyId) {
		this.expressCompanyId = expressCompanyId;
	}

	@JSONField(name = "express_company_name")
	public String getExpressCompanyName() {
		return expressCompanyName;
	}

	public void setExpressCompanyName(String expressCompanyName) {
		this.expressCompanyName = expressCompanyName;
	}

	@JSONField(name = "express_code")
	public String getExpressCode() {
		return expressCode;
	}

	public void setExpressCode(String expressCode) {
		this.expressCode = expressCode;
	}

	@JSONField(name = "ship_time")
	public long getShopTime() {
		return shopTime;
	}

	public void setShopTime(long shopTime) {
		this.shopTime = shopTime;
	}

	@JSONField(name = "express_page")
	public GoodExpressPage getExpressPage() {
		return expressPage;
	}

	public void setExpressPage(GoodExpressPage expressPage) {
		this.expressPage = expressPage;
	}

	@JSONField(name = "express_goods_info_list")
	public List<GoodExpressItem> getExpressItemInfoList() {
		return expressItemInfoList;
	}

	public void setExpressItemInfoList(List<GoodExpressItem> expressItemInfoList) {
		this.expressItemInfoList = expressItemInfoList;
	}

	@Override
	public String toString() {
		return "GoodExpressPackage{" +
				"expressCompanyId=" + expressCompanyId +
				", expressCompanyName='" + expressCompanyName + '\'' +
				", expressCode='" + expressCode + '\'' +
				", shopTime=" + shopTime +
				", expressPage=" + expressPage +
				", expressItemInfoList=" + expressItemInfoList +
				'}';
	}
}
